package com.nanjia.boot.delivery.converter;

import com.nanjia.boot.delivery.model.entity.Certificate;
import com.nanjia.boot.delivery.model.form.CertificateForm;
import org.mapstruct.Mapper;

;

/**
 * 证件对象转换器
 *
 * @author 周洋
 * @since 2025-06-13 11:09
 */
@Mapper(componentModel = "spring")
public interface CertificateConverter{

    CertificateForm toForm(Certificate entity);

    Certificate toEntity(CertificateForm formData);
}